<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8" />
    <title>工装保养项管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="icon" type="image/x-icon" href="/favicon.ico" th:href="@{/favicon.ico}">
    <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
    <style>
        html,body{height: 100%;}
    </style>
</head>
<body>
<!--头部-->
<header th:replace="common/head" >
</header>
<!-- 页面指向 -->
<div class="page-point bg-white">
    <ul>
        <li>首页</li>
        <li>工装管理</li>
        <li>工装保养项管理</li>
    </ul>
</div>
<!-- 菜单树 -->
<div th:replace="common/left" >
</div>
<!--主体内容-->
<div class="page-container spot-check-container">

    <div class="left-search-list">
        <h3>工装</h3>
        <div class="search-frame relative">
            <input autocomplete="new-password" type="text" class="tool-search" id="search" placeholder="输入工装名称或编码搜索"/>
            <span aria-hidden="true" class="icon-search_chaxun" id="toolSearch"></span>
        </div>
        <ul class="scroll-style" id="toolList">
        </ul>
    </div>
    <!--<div th:replace="common/eqModelList" >-->

    <div class="right-table-box">
        <div class="container-fluid mb-20 clearfix">
            <div class="col-md-12 rlt">
                <h2 class="page-section-title">工装保养项列表</h2>
                <ul class="table-tool">
                    <li id="add">
                        <span class="icon-list_add" aria-hidden="true"></span>
                        <label>新增</label>
                    </li>
                    <li id="update">
                        <span class="icon-list_xiugai" aria-hidden="true"></span>
                        <label>修改</label>
                    </li>
                    <li id="delete">
                        <span class="icon-list_shanchu" aria-hidden="true"></span>
                        <label>删除</label>
                    </li>
                    <li id="refreshTable">
                        <span class="icon-list_shuaxin" aria-hidden="true"></span>
                        <label>刷新</label>
                    </li>

                </ul>
            </div>
        </div>

        <div class="container-fluid table-container">
            <table  id="toolMaintainItemTable" cellspacing="" cellpadding="">

            </table>
        </div>
    </div>
</div>

<!--新增-->
<form id="toolMaintainItemForm"  class="form-horizontal tool-maintain-item-form" action="">
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title title"></h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="form-group">
                            <label class="col-lg-4 control-label form-required form-required-4">工装编码</label>
                            <div class="col-lg-7">
                                <input autocomplete="new-password" class="form-control" name="toolCode"  type="text" readonly/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-lg-4 control-label form-required form-required-4">工装名称</label>
                            <div class="col-lg-7">
                                <input autocomplete="new-password" class="form-control" name="toolName" type="text" readonly/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-lg-4 control-label form-required form-required-7">工装保养项编码</label>
                            <div class="col-lg-7">
                                <input autocomplete="new-password" class="form-control" name="maintainCode" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-lg-4 control-label form-required form-required-7">工装保养项名称</label>
                            <div class="col-lg-7">
                                <input autocomplete="new-password" class="form-control" type="text" name="maintainName" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-lg-4 control-label ">保养方法</label>
                            <div class="col-lg-7">
                                <input autocomplete="new-password" class="form-control" type="text" name="maintainMethod" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-lg-4 control-label ">备注</label>
                            <div class="col-lg-7">
                                <input autocomplete="new-password" class="form-control" type="text" name="remark" />
                            </div>
                        </div>
                        <input autocomplete="new-password" type="hidden" name="pkId" value=""/>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary yes">保存</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </div>
        </div>
    </div>
</form>

<div th:replace="common/foot">
</div>

<script th:src="@{/js/tool/toolMaintainItem.js}"></script>
</body>
</html>






